package com.sc.nft.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.sc.nft.enums.EcologyCollectionShareProfitTypeEnum;
import com.sc.nft.enums.NewEcologyHatchShareProfitStatus;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 新生态分润结算记录表
 * </p>
 *
 * @author liGen
 * @since 2024-11-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_new_ecology_hatch_share_profit")
@ApiModel(value="ScNewEcologyHatchShareProfit对象", description="新生态分润结算记录表")
public class NewEcologyHatchShareProfit extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "熔炼记录id")
    private Long userRecordId;

    @ApiModelProperty(value = "类型: 1:分享收益 2:风控池 3:技术服务费 4:平台分红池 5:DAO分红池 6:每份分账")
    private EcologyCollectionShareProfitTypeEnum type;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "藏品id")
    private Long collectionId;

    @ApiModelProperty(value = "DAOId")
    private Long daoId;

    @ApiModelProperty(value = "积分ID")
    private Long pointsId;

    @ApiModelProperty(value = "分配比例")
    private BigDecimal distributionScale;

    @ApiModelProperty(value = "分配金额")
    private BigDecimal distributionPoints;

    private BigDecimal systemForfeiture;

    @ApiModelProperty(value = "结算时间")
    private Date settleTime;

    @ApiModelProperty(value = "结算时间戳")
    private Long settleTimeStamp;

    @ApiModelProperty(value = "结算状态 1:待处理  2:处理成功 3:处理失败")
    private NewEcologyHatchShareProfitStatus settleStatus;

    @ApiModelProperty(value = "分账池子ID")
    private Long shareProfitDaoPoolId;

}
